package com.ctshk.rpc.system.req.main.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 系统消息表
 * </p>
 *
 * @author
 * @since 2020-12-28
 */
@Data
@ApiModel(value="TripInfoChangeRuleReq对象", description="系列团--旅客收费资料规则对象")
public class TripInfoChangeRuleReq implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @NotBlank(message = "旅客规则名称不能为空")
    @ApiModelProperty(value = "旅客收费规则名称")
    private String tripInfoChangeRuleName;

    @NotNull(message = "收费金额不能为空")
    @ApiModelProperty(value = "收费金额")
    private BigDecimal chargeAmount;

    @ApiModelProperty(value = "状态（0：有效 1：无效）")
    private Integer status;

}
